{% extends "howto" %}

{% block main %}
<h2 id="building-a-kit">Building a Kit</h2>
<ol>
<li>Create a folder whose name will be the kit id followed by <q>.wak</q>.
Use the same rules as for PHP names : at least a letter followed by letters, digits or underscores (_).</li>
<li>Put inside this folder all the library files ot include. You can use subfolders if you wish. You can also create subkits which may be targeted individually. Just follow the same naming rules as for any kit and to put them at the root of their parent kit.</li>
<li>Create at the root of the kit a file named <q><a href="howto/kit-config-file">wak.ini</a></q>, and list inside every kits resources and dependancies.</li>
</ol>

<p>This is for library kits. You can also define a custom class for your kit and/or add some <em>Tools</em>. Source files for their classes will have to be either included by the kit, or by other kits listed as dependancies.</p>
{% endblock %}
